package dataservice.teachPlanDataService;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import dataservice.ResultMessage;
import po.coursePO.CoursePO;
import po.teachPlanPO.TeachPlanPO;

public interface TeachPlanDatabaseService extends Remote {
	public ArrayList<TeachPlanPO> getPlanBySemester(String semester,String department)
			throws RemoteException;

	public ArrayList<CoursePO> getUnselectedCourse(String department) throws RemoteException;

	public ArrayList<TeachPlanPO> getPlanByDepartment(String department)
			throws RemoteException;

	public ResultMessage insert(TeachPlanPO po) throws RemoteException;

	public CoursePO find(String id) throws RemoteException;

	public ResultMessage delete(TeachPlanPO po) throws RemoteException;
}
